package academic.ui.client;

import ecommerce.soco.shared.*;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("academic.ui.server.CheckoutServiceImpl.gwt")
public interface CheckoutService extends RemoteService {

	public Integer processOrder(Integer productID, Integer quantity,GWT_Customer customerRg,GWT_CreditCard cCard, GWT_Gift gift);
	public GWT_CreditCard[] addCard(GWT_CreditCard card);
	public GWT_Zone[] getZones();
	public GWT_CreditCard[] getUserPaymentOptions();
	public Integer updateCard(GWT_CreditCard card);
	public GWT_CreditCard getCreditCard(String cardID);
	public Boolean setAsDefaultCard(String id);
	public GWT_CreditCard[] removeCard(String id);
}
